package com.zzzy.sys.vo.usermanage;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "用户分配角色")
@Data
public class UserOperateRoleReq {

    @Schema(description = "用户ID")
    @NotNull(message = "用户ID不能为空")
    private Long id;

    @Schema(description = "角色ID")
    private List<Long> roleIds;
}
